home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung / Power-Programmierung (Tewi)(1994).iso / magazine / msysjour / vol05 / 01 / isam / fig14.c < prev    next >
C/C++ Source or Header  |  1989-12-11  |  1KB  |  33 lines

  1.  
  2.  
  3. /* An abbreviated list of opcode constants. */
  4. #define OPADDINDEX       /* add an index */
  5. #define OPBGNTRAN        /* begin a transaction */
  6. #define OPBUILD          /* create an ISAM file */
  7. #define OPCLOSE          /* close an ISAM file */
  8. #define OPCOMMIT         /* commit a transaction */
  9. #define OPDELETE         /* delete a record */
  10. #define OPOPEN           /* open an ISAM file */
  11. #define OPREAD           /* read a record */
  12. #define OPREWRITE        /* update a record */
  13. #define OPWRITE          /* write a record */
  14.  
  15. struct isrequest {
  16.     int          iOpcode;
  17.     int          iIsfd;
  18.     int          iMode;
  19.     int          iKeynum;
  20.     int          iReclen;
  21.     long         lRecnum;
  22.     long         lUniqid;
  23.     GLOBALHANDLE hBuffer;
  24.     GLOBALHANDLE hFileName1;
  25.     GLOBALHANDLE hFileName2;
  26.     GLOBALHANDLE hRecord;
  27.     char         isstat1;
  28.     char         isstat2;
  29.     int          iserrno;
  30.     int          iserrio;
  31.     int          isretval;
  32. };
  33.